package com.googlecode.jsimplemarket.repository;

/**
 *
 * @author alex
 */
public class GenericOrder {
    private boolean asc;
    private GenericProperty property;
    
    public GenericOrder(GenericProperty property) {
        this.property = property;
        asc = true;
    }
    
    public GenericOrder(GenericProperty property, boolean asc) {
        this.property = property;
        this.asc = asc;
    }

    public boolean isAsc() {
        return asc;
    }

    public void setAsc(boolean asc) {
        this.asc = asc;
    }

    public GenericProperty getProperty() {
        return property;
    }

    public void setProperty(GenericProperty property) {
        this.property = property;
    }
}
